Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caddyhttp: Log non-500 handler errors at debug level #4429

Merged
merged 1 commit into from Nov 22, 2021

Conversation

francislavoie
Copy link
Member

Fixes #4428

It's best to still log handler errors at debug level so that they're hidden by default, but still accessible if additional details are necessary.

Fixes #4428

It's best to still log handler errors at debug level so that they're hidden by default, but still accessible if additional details are necessary.
@francislavoie francislavoie added the feature ⚙️ New feature or request label Nov 20, 2021
@francislavoie francislavoie added this to the v2.5.0 milestone Nov 20, 2021
Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, I guess that's a good idea. Thanks for the patch!

@mholt mholt merged commit eead337 into master Nov 22, 2021
@francislavoie francislavoie deleted the non-500-err-as-debug branch November 22, 2021 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ⚙️ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

caddyhttp.HandlerErr non-500 status logging
3 participants